# Maintainer: David Runge <dvzrv@archlinux.org>

pkgname=mod-lv2-extensions
pkgver=2022.09.28
pkgrel=1
pkgdesc="Custom LV2 Extensions used by MOD Devices"
arch=(any)
url="https://github.com/moddevices/mod-lv2-extensions"
license=(custom:ISC)
source=($pkgname-$pkgver.tar.gz::https://github.com/moddevices/$pkgname/archive/refs/tags/${pkgver//./-}.tar.gz)
sha512sums=('89e532d93cfe7c3410d7a4f166d48d4bf7f7ef89f14429eb2c084dd6e35fd2c91f24998ae9533298b7c43a39956ec6c9738c91954a09fcbad8bda9f3c8b63717')
b2sums=('4f7b08736ec98444adb15d4c099db231c28c143c9e7ef52541da59d2bb23014f122247f7ae88d3bf6c05d6010e3b1e618b00407d8886b75deac3d5635c8963a9')

package() {
  make DESTDIR="$pkgdir/" PREFIX=/usr install -C $pkgname-${pkgver//./-}
  install -vDm 644 $pkgname-${pkgver//./-}/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
